/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model;
import com.exception.DataException;
import com.javabeans.Categoria;
import java.util.List;
/**
 * @author Administrador
 */

public interface CategoriaManager {
    public int getIdCategoria() throws DataException;
    public void saveCategoria(Categoria ca) throws DataException;
    public void updateCategoria(Categoria ca) throws DataException;
    public void darBaja(int idCategoria) throws DataException;
    public void darAlta(int idCategoria) throws DataException;
    public Categoria getCategoria(int idCategoria) throws DataException;
    public List<Categoria> getCategorias() throws DataException;
    public List<Categoria> getCategoriasDadosDeBaja() throws DataException;
    public boolean isUseInDetalleDoc(int idCategoria) throws DataException;
    public void deleteCategoria(int idCategoria) throws DataException;
}
